<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>Tagged with export application - Processing 2.x and 3.x Forum</title>
      <link>https://forum.processing.org/two/discussions/tagged/feed.rss?Tag=export+application</link>
      <pubDate>Sun, 08 Aug 2021 18:02:18 +0000</pubDate>
         <description>Tagged with export application - Processing 2.x and 3.x Forum</description>
   <language>en-CA</language>
   <atom:link href="/two/discussions/taggedexport+application/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>Why java.lang.NoClassDefFoundError only with exported sketch?</title>
      <link>https://forum.processing.org/two/discussion/26314/why-java-lang-noclassdeffounderror-only-with-exported-sketch</link>
      <pubDate>Sun, 11 Feb 2018 11:52:44 +0000</pubDate>
      <dc:creator>hamoid</dc:creator>
      <guid isPermaLink="false">26314@/two/discussions</guid>
      <description><![CDATA[<p>This relates to the Video <a rel="nofollow" href="https://github.com/hamoid/video_export_processing/blob/master/src/com/hamoid/VideoExport.java">Export library</a>.</p>

<p>I was just told that when you export a sketch as executable, it fails to run. It seems to happen at least with Mac and Linux.</p>

<p>This is the error when running the <a rel="nofollow" href="https://github.com/hamoid/video_export_processing/blob/master/examples/basic/basic.pde">Basic Example</a>:</p>

<pre><code>java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Wincon
        at basic.setup(basic.java:36)
        at processing.core.PApplet.handleDraw(PApplet.java:2412)
        at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1557)
        at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)
Caused by: java.lang.ClassNotFoundException: com.sun.jna.platform.win32.Wincon
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 4 more
</code></pre>

<p>The example runs fine inside the Processing IDE. With the exported app, it seems to fail before the constructor is called, as I tried printing strings inside setup but nothing is shown in the console.</p>

<p>If you see the error mentions win32, even if this is on Linux or Mac. I make use of <a rel="nofollow" href="https://github.com/hamoid/video_export_processing/blob/master/src/com/hamoid/VideoExport.java#L522">JNA in Windows</a> to find out the ffmpeg.exe process and send it a ctrl+c to close it gracefully.</p>

<p>Any ideas for what I could try?</p>
]]></description>
   </item>
   <item>
      <title>How to add Minimize and close button to the "application " after export</title>
      <link>https://forum.processing.org/two/discussion/21755/how-to-add-minimize-and-close-button-to-the-application-after-export</link>
      <pubDate>Sun, 02 Apr 2017 05:10:07 +0000</pubDate>
      <dc:creator>ahmadS</dc:creator>
      <guid isPermaLink="false">21755@/two/discussions</guid>
      <description><![CDATA[<p><img src="https://forum.processing.org/two/uploads/imageupload/234/8O7P8111ID2A.PNG" alt="klkjkljkl" title="klkjkljkl" />
Hello every one i made a code on the processing and export it into application .exe 
but i need to be with minimize and close button 
how to do that? 
thanks</p>
]]></description>
   </item>
   <item>
      <title>Exported Executable Freezing</title>
      <link>https://forum.processing.org/two/discussion/21607/exported-executable-freezing</link>
      <pubDate>Sat, 25 Mar 2017 16:41:06 +0000</pubDate>
      <dc:creator>Smcelrea</dc:creator>
      <guid isPermaLink="false">21607@/two/discussions</guid>
      <description><![CDATA[<p>Hello, I'm not really sure where to post this, so i put it here. Whenever I try to create and executable in processing 3.3 of my game for people to use, the executable just freezes whenever run. I've tried embedding java and not embedding java, tried creating linux, windows, 64-bit and 32-bit executables. Yet, every time I run the exported .exe it just shows a white screen and ends up freezing. This is quite annoying, as it runs fine from the IDE's play button. Does anybody know what's going on, and what I can do to get it to work?</p>

<p>Edit: here's a link to the code if you so desire to look at it
<a rel="nofollow" href="http://www.mediafire.com/file/srl4g3f5om8zw5g/GameProgram.zip">http://www.mediafire.com/file/srl4g3f5om8zw5g/GameProgram.zip</a></p>

<p>Edit2: fixed the issue, had to put all the images in the same directory as the executable</p>
]]></description>
   </item>
   <item>
      <title>How to hide stop button in Presentation Mode ?</title>
      <link>https://forum.processing.org/two/discussion/18168/how-to-hide-stop-button-in-presentation-mode</link>
      <pubDate>Wed, 14 Sep 2016 07:36:16 +0000</pubDate>
      <dc:creator>geekself108</dc:creator>
      <guid isPermaLink="false">18168@/two/discussions</guid>
      <description><![CDATA[<p>Hi !</p>

<p>i'm exporting my sketch (normal P3D) in Presentation Mode where i unchecked stop button but still its showing me that button in the Presentation mode..</p>

<p>can anyone tell why its showing the stop button or is there any workaround to hide the stop button ?</p>

<p>i'm using processing 3.0.1 version</p>

<p>Thx !</p>
]]></description>
   </item>
   <item>
      <title>I can't create the Signed app Package</title>
      <link>https://forum.processing.org/two/discussion/18232/i-can-t-create-the-signed-app-package</link>
      <pubDate>Wed, 21 Sep 2016 16:23:07 +0000</pubDate>
      <dc:creator>Ydrela</dc:creator>
      <guid isPermaLink="false">18232@/two/discussions</guid>
      <description><![CDATA[<p>Hello!
I don't really understand this error...</p>

<p>Can you help me ?</p>

<hr />

<p>java.io.IOException: Cannot run program "/home/desktop/processing-3.2.1/java/bin/keytool": error=2,
 Aucun fichier ou dossier de ce type
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at java.lang.Runtime.exec(Runtime.java:620)
    at java.lang.Runtime.exec(Runtime.java:485)
    at processing.mode.android.AndroidKeyStore.generateKeyStore(AndroidKeyStore.java:80)
    at processing.mode.android.KeyStoreManager$1.actionPerformed(KeyStoreManager.java:94)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6533)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6298)
    at java.awt.Container.processEvent(Container.java:2236)
    at java.awt.Component.dispatchEventImpl(Component.java:4889)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    at java.awt.Container.dispatchEventImpl(Container.java:2280)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: error=2, Aucun fichier ou dossier de ce type
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.(UNIXProcess.java:247)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    ... 40 more</p>
]]></description>
   </item>
   <item>
      <title>Export as an .exe</title>
      <link>https://forum.processing.org/two/discussion/16726/export-as-an-exe</link>
      <pubDate>Fri, 20 May 2016 20:04:14 +0000</pubDate>
      <dc:creator>leoof60</dc:creator>
      <guid isPermaLink="false">16726@/two/discussions</guid>
      <description><![CDATA[<p>Hello I need to export this program <a rel="nofollow" href="https://1fichier.com/?5069clqzbp">https://1fichier.com/?5069clqzbp</a> for a school work but when I clic on "export application&gt;Windows" the export doesnt work (He create the files but the .exe just open a white window) :(</p>

<p>The error : <img src="http://image.noelshack.com/fichiers/2016/20/1463514112-erreur-export.jpg" alt="" /></p>

<p>If someone can help me that will be fantastic :)</p>

<p>PS: sorry for my english<br />
PS': The export fail on 2 other computers , all in windows 7 and with processing 1.5.1 or 3x ...</p>
]]></description>
   </item>
   <item>
      <title>How to include fonts in exported application</title>
      <link>https://forum.processing.org/two/discussion/16483/how-to-include-fonts-in-exported-application</link>
      <pubDate>Sun, 08 May 2016 01:32:04 +0000</pubDate>
      <dc:creator>ailurophile</dc:creator>
      <guid isPermaLink="false">16483@/two/discussions</guid>
      <description><![CDATA[<p>In my program I’m using a few different fonts in one typeface (Roboto Regular, Roboto Medium, Roboto Italic, Roboto Bold Italic), but when I export it as an application, it displays everything as just one font (Roboto Regular). Where should I put the other fonts so that they are included in the application when it exports? (Ideally, this would also let other people who don’t have this font installed still see this font.)</p>
]]></description>
   </item>
   <item>
      <title>Exported Applications Don't Work</title>
      <link>https://forum.processing.org/two/discussion/15629/exported-applications-don-t-work</link>
      <pubDate>Tue, 22 Mar 2016 19:30:25 +0000</pubDate>
      <dc:creator>Ystem</dc:creator>
      <guid isPermaLink="false">15629@/two/discussions</guid>
      <description><![CDATA[<p>I am trying to export an application from processing. I have exported the application and given it to several people, but it starts up and then is a completely blank screen. This screen has the same dimensions that I specified in size(), but nothing is being drawn on it. I have exported a previous version of the same thing, and others could run it fine. The main thing that I have changed is adding sound using processing.sound. I think the problem may be that the the application is failing to load the sound files, but I don't know why it should. I cannot check a console for errors because the .exe file is blocking all error printouts, and we have not been able to successfully run from the .jar in the application.</p>
]]></description>
   </item>
   <item>
      <title>Exported app is not working; having a permissions error (maybe)</title>
      <link>https://forum.processing.org/two/discussion/15653/exported-app-is-not-working-having-a-permissions-error-maybe</link>
      <pubDate>Wed, 23 Mar 2016 21:06:29 +0000</pubDate>
      <dc:creator>ds45</dc:creator>
      <guid isPermaLink="false">15653@/two/discussions</guid>
      <description><![CDATA[<p>I built the following app using the video library to capture images from the webcam. It runs fine from the PDE. I also exported the app and it works on my computer. However, it is not working on other people's computers. So, far, I have onyl tested the Mac export (Java embedded).</p>

<p>The code:</p>

<pre><code>import processing.video.*;

Capture cam;

PImage people;
PGraphics peopleMask;
int x1, x2, y1, y2;

void setup() {
  size(1280, 720);
  background(192);
//size is set to largest available camera
  String[] cameras = Capture.list();

  if (cameras.length == 0) {
    println("There are no cameras available for capture.");
    exit();
  } else {
    println("Available cameras:");
    for (int i = 0; i &lt; cameras.length; i++) {
      println(cameras[i]);
    }
    cam = new Capture(this, cameras[0]);
    cam.start();     
  }      

  noStroke();

  peopleMask = createGraphics(width,height);

}

void draw() {

   x1 = int(random(-20,width));
  x2 = int(random(5,width/10));
  y1 = int(random(-20,height));
  y2 = int(random(10,height/2));

  peopleMask.beginDraw();
  peopleMask.fill(0);
  peopleMask.rect(0,0,width,height);
  peopleMask.fill(255);
  peopleMask.rect(x1,y1,x2,y2);
  peopleMask.endDraw();  

  if (cam.available() == true) {
    cam.read();
    cam.mask(peopleMask);
    image(cam, 0, 0);
  }

}
</code></pre>

<p>My friend just emailed me the following; it originally did not on his computer but did later:</p>

<p>I looked at this more today.  The root error was about permissions to launch:</p>

<p>3/23/16 10:42:26.569 AM com.apple.xpc.launchd[1]: (eFelt.317472[5205]) Could not find and/or execute program specified by service: 13: Permission denied: /Users/ejerrett/Desktop/eFelt_1280x720.app/Contents/MacOS/eFelt</p>

<p>I performed a chmod (via Terminal) and now I can launch it and it runs fine:</p>

<p>chmod -R 755 ~/Desktop/eFelt_1280x720.app/</p>

<p>How can I export this without causing permissions problems?</p>
]]></description>
   </item>
   <item>
      <title>Embed a Java Installer in a Processing Exported Application</title>
      <link>https://forum.processing.org/two/discussion/15627/embed-a-java-installer-in-a-processing-exported-application</link>
      <pubDate>Tue, 22 Mar 2016 17:15:12 +0000</pubDate>
      <dc:creator>Ystem</dc:creator>
      <guid isPermaLink="false">15627@/two/discussions</guid>
      <description><![CDATA[<p>Processing applications require java 8+ to run, and many people don't have java. I know processing can embed java in a mac application (but not windows), but I have seen applications that will prompt the user if they want to install java before running. I could download a java installer online, but is there a way to make a program (not necessarily in processing) that tests for java version and launches the installer if the required java version cannot be found?</p>
]]></description>
   </item>
   <item>
      <title>Running exported on Raspberry pi?</title>
      <link>https://forum.processing.org/two/discussion/15155/running-exported-on-raspberry-pi</link>
      <pubDate>Sat, 27 Feb 2016 17:31:14 +0000</pubDate>
      <dc:creator>sparkyjohn</dc:creator>
      <guid isPermaLink="false">15155@/two/discussions</guid>
      <description><![CDATA[<p>I feel it should be possible to export to linux and just copy the exported files over to my raspberry pi (running Raspbian Jessie) from my computer (windows 10, Processing 3.0.2) and run the jar file. I haven't been able to find a tutorial or anything that tells me anything about it. When I use "java -jar sketch_160227a.jar" from inside the folder the jar is in, it tells my "Error: Could not fin or load main class sketch_160227.jar". Is there another step I have to take or am I using the wrong jar or am I just wrong in assuming there is a way to do it? I have tried the jar in all three of the exported folders.</p>
]]></description>
   </item>
   <item>
      <title>standalone application and link from pdf-presentation to pde file</title>
      <link>https://forum.processing.org/two/discussion/14920/standalone-application-and-link-from-pdf-presentation-to-pde-file</link>
      <pubDate>Mon, 15 Feb 2016 04:18:57 +0000</pubDate>
      <dc:creator>Tilia</dc:creator>
      <guid isPermaLink="false">14920@/two/discussions</guid>
      <description><![CDATA[<p>Hi people!</p>

<p>I got two questions:</p>

<ol>
<li>How can i export a standalone application for mac desktop, with codes using fonts (createfont(), loadfont(), text())?</li>
<li>Is it possible to integrade or make a link from .pde file from a pfd-presentation?</li>
</ol>

<p>thank you</p>
]]></description>
   </item>
   <item>
      <title>Changing the color or disabling the "stop" button when exporting application doesn't make any effect</title>
      <link>https://forum.processing.org/two/discussion/13925/changing-the-color-or-disabling-the-stop-button-when-exporting-application-doesn-t-make-any-effect</link>
      <pubDate>Sat, 12 Dec 2015 22:19:23 +0000</pubDate>
      <dc:creator>rjth</dc:creator>
      <guid isPermaLink="false">13925@/two/discussions</guid>
      <description><![CDATA[<p><em>Processing 3.0.1 on Mac OSX 10.11.2</em></p>

<p>I am running into the same problem during "present" mode, large grey rectangle with white text.</p>

<p><a rel="nofollow" href="http://rjth.d.pr/6Wmj">Screenshot</a></p>

<p>Could you suggest any fixes for this?</p>
]]></description>
   </item>
   <item>
      <title>Export Application:Exeption in thread "Animation Thread" java.lang.outOfMemoryError: Java heap space</title>
      <link>https://forum.processing.org/two/discussion/13683/export-application-exeption-in-thread-animation-thread-java-lang-outofmemoryerror-java-heap-space</link>
      <pubDate>Fri, 27 Nov 2015 08:04:43 +0000</pubDate>
      <dc:creator>gerome</dc:creator>
      <guid isPermaLink="false">13683@/two/discussions</guid>
      <description><![CDATA[<p>Exporting my Sketch as an Application on Win 7
I get the following error message:
 Exeption in thread "Animation Thread" java.lang.outOfMemoryError: Java heap space</p>

<p>I don´t use any images. just simple geomtric drawings (ellipses, lines  and so on). I use some arrays with less than 40.000 elements (float). I increased Java memory to 5 GB. But still the same problem.</p>

<p>Processing 2,  oscP5 (for Communication with MaxMSP) on Win 7, 64 bit (i7,16 GB Ram), with Java 32 bit</p>

<p>Help appreciated</p>
]]></description>
   </item>
   <item>
      <title>Exported .exe errors</title>
      <link>https://forum.processing.org/two/discussion/12963/exported-exe-errors</link>
      <pubDate>Mon, 12 Oct 2015 15:06:27 +0000</pubDate>
      <dc:creator>obahama</dc:creator>
      <guid isPermaLink="false">12963@/two/discussions</guid>
      <description><![CDATA[<p>I’ve been working on an ongoing visualization project: I created an .exe in Processing a couple years ago that has been running daily ever since via Task Scheduler; it collects/scrapes weather forecast temperatures from 3 different webpages and writes to a text file. It stopped working/running 2 wks ago. Two error windows appear:</p>

<p>"C:\ProgramData\Oracle\Java\javapath\javaw.exe   Unspecified Error" and "Error calling ShellExecutedEx()".</p>

<p>I can manually run the program successfully in Processing to collect the data. It’s just the exported .exe that doesn’t work. The .bat file for 64bit Win actually runs in Task Scheduler w/o errors, but the text file is not updated w/ the new data. I thought it might be the most recent vers of Java; but after removing it, the same errors occur. I was running an old vers of Processing (2.xx); so I dl'ed 3.0 and recreated the .exe/.bat files: same errors.</p>

<p>Win 7 64bit, 8 Gigs; Processing 2.xx &amp; 3.0</p>

<p>Any ideas will be greatly appreciated.</p>

<p>Thanks,</p>

<p>Wade</p>
]]></description>
   </item>
   <item>
      <title>Export application in a single .exe file</title>
      <link>https://forum.processing.org/two/discussion/12689/export-application-in-a-single-exe-file</link>
      <pubDate>Fri, 25 Sep 2015 22:03:10 +0000</pubDate>
      <dc:creator>marta_m</dc:creator>
      <guid isPermaLink="false">12689@/two/discussions</guid>
      <description><![CDATA[<p>Hi all,
I'm using Processing 3.0a5 and I have a sketch that works with some images, txt files and libraries. I exported my sketch as application (Windows) and I got a folder with .exe, .pde and .jar files, where I placed all the images. The application works perfectly but I need to know if it's possible to obtain a single runnable .exe file with all the references embedded or at least if there is a way to hide all the files that the applications needs and show to the user only the .exe.
Thanks in advance!</p>
]]></description>
   </item>
   <item>
      <title>Grey screen after exporting to application</title>
      <link>https://forum.processing.org/two/discussion/12667/grey-screen-after-exporting-to-application</link>
      <pubDate>Thu, 24 Sep 2015 03:36:30 +0000</pubDate>
      <dc:creator>ssarkar7</dc:creator>
      <guid isPermaLink="false">12667@/two/discussions</guid>
      <description><![CDATA[<p>I have a Processing sketch that uses Java. It works fine when I run it through Processing. When I export it to application, it exports fine as well. However, when I open the application on my desktop, I get a grey screen. I tried adding the following because I saw it mentioned on a few forums:</p>

<p><code>public static void main (String[] args) 
{
    PApplet.main("thefinalcode");
}</code></p>

<p>And that just runs the application with no screen. There's no window at all. Here's my original sketch:</p>

<p>```
import twitter4j.conf.*;
import twitter4j.*;
import twitter4j.auth.*;
import twitter4j.api.*;
import java.util.*;</p>

<p>Twitter twitter; 
String searchString = "#food"; 
List tweets;</p>

<p>int currentTweet; 
String headline = "#food";
String footer;
PFont f;
float loc;</p>

<p>PImage img;
PImage img1;
PImage img2;
PImage img3;
PImage img4;
PImage img5;
PImage bgImg;
PImage lpjLogo;</p>

<p>int clock = 0;
int clockreset = 30;</p>

<p>long latestID = 0;</p>

<p>ArrayList uteri;</p>

<p>void setup()
{
    //frameRate(5);
    size(displayWidth,displayHeight); // fill up the screen</p>

<pre><code>f = createFont("ChunkFive Ex", 32, true);
loc = width;

img = loadImage("uteruswhite.png");
img1 = loadImage("uterus1.png");
img2 = loadImage("uterus2.png");
img3 = loadImage("uterus3.png");
img4 = loadImage("uterus4.png");
img5 = loadImage("uterus5.png");
lpjLogo = loadImage("lpjleague_bg_logo.png");

lpjLogo.resize(displayWidth, displayHeight);

// this is java's authentication:
ConfigurationBuilder cb = new ConfigurationBuilder();
cb.setOAuthConsumerKey("****");
cb.setOAuthConsumerSecret("****");
cb.setOAuthAccessToken("****");
cb.setOAuthAccessTokenSecret("****");

// this makes an authentication token with twitter
TwitterFactory tf = new TwitterFactory(cb.build());

// this is what you talk to to get info:
twitter = tf.getInstance();

getNewTweets(); // gets new tweets

currentTweet = 0; // restarts what tweet we're drawing

thread("refreshTweets");

background(lpjLogo);

uteri = new ArrayList&lt;Uterus&gt;();
</code></pre>

<p>}</p>

<p>void draw()
{
  background(lpjLogo);
    //fill(255);
    textAlign(CENTER);
    textSize(140);
    text(headline,width/2,120);</p>

<pre><code>textFont(f, 24);

if(tweets.size()&gt;0 &amp;&amp; currentTweet&lt;tweets.size() &amp;&amp; clock==0) // don't do anything unless there's something to do
{
  Status status = tweets.get(currentTweet);

  float x = random(width);
  float y = random(120,height);

  if(status.getId()&gt;latestID) latestID = status.getId();

    int pickNum = int(random(1,5));

    uteri.add(new Uterus(x, y, pickNum, status.getText()));

    currentTweet = currentTweet+1;
}

for(int i = 0;i&lt;uteri.size();i++)
{
   uteri.get(i).go();
   if(uteri.get(i).killme) uteri.remove(i);
}

clock = (clock+1)%clockreset;

//saveFrame ("frames/####.png");
</code></pre>

<p>}</p>

<p>void getNewTweets()
{
    try 
    {
        Query query = new Query(searchString);</p>

<pre><code>    query.setSinceId(latestID);

    QueryResult result = twitter.search(query);

    tweets = result.getTweets();
} 
catch (TwitterException te) 
{
    System.out.println("Failed to search tweets: " + te.getMessage());
    System.exit(-1);
} 
</code></pre>

<p>}</p>

<p>void refreshTweets()
{
    while (true)
    {
        getNewTweets();</p>

<pre><code>    //println("Updated Tweets"); 
    currentTweet = 0;
    delay(5000);
}
</code></pre>

<p>}
```</p>

<p>I'm using Processing 2.2.1. Any advice as to what I'm doing wrong? I'm a novice so any help is greatly appreciated! Thank you!</p>
]]></description>
   </item>
   <item>
      <title>Scheduled task on exported application</title>
      <link>https://forum.processing.org/two/discussion/12600/scheduled-task-on-exported-application</link>
      <pubDate>Sun, 20 Sep 2015 15:05:56 +0000</pubDate>
      <dc:creator>TLS3</dc:creator>
      <guid isPermaLink="false">12600@/two/discussions</guid>
      <description><![CDATA[<p>Hi folks.
I made a parameters monitoring system for a truck-pc (temps, pressures, voltages, etc).
PC is running Windows 8.1 Embedded Industry 32 bits.
Creating a scheduled task won't start the exported Processing application, as well as calling the file under command prompt.
Double-clicking the application icon works, naturally.
Checking the task manager, i suspect a java runtime to be missing.
How to call the entire environment in automatic mode?
Thanks</p>
]]></description>
   </item>
   <item>
      <title>Error: Could not create the Virtual Machine</title>
      <link>https://forum.processing.org/two/discussion/12558/error-could-not-create-the-virtual-machine</link>
      <pubDate>Thu, 17 Sep 2015 10:01:04 +0000</pubDate>
      <dc:creator>setup</dc:creator>
      <guid isPermaLink="false">12558@/two/discussions</guid>
      <description><![CDATA[<p>Hi,</p>

<p>I have a program that produces no errors while run inside Processing and have exported it as an Application using version 3.0b5. When I attempt to launch the Application I get the following error.</p>

<p><img src="http://forum.processing.org/two/uploads/imageupload/681/NITGLL7RKR1Q.PNG" alt="javaError" title="javaError" /></p>

<p>I'm on a windows computer with Java installed, but I don't have administrator access.  I'm not sure if this error is related to processing program or Java - Is there any way, such as an error log, where I can find out any more information?</p>

<p>Thanks for the help.</p>
]]></description>
   </item>
   <item>
      <title>Exported application doesn't run (Processing 2.2.1), version 3.0 could give problems with libraries</title>
      <link>https://forum.processing.org/two/discussion/12464/exported-application-doesn-t-run-processing-2-2-1-version-3-0-could-give-problems-with-libraries</link>
      <pubDate>Thu, 10 Sep 2015 09:13:30 +0000</pubDate>
      <dc:creator>marta_m</dc:creator>
      <guid isPermaLink="false">12464@/two/discussions</guid>
      <description><![CDATA[<p>Hi all,</p>

<p>not sure if this is the right category because I have a problem running my sketch exported as stand-alone application, but the solution of the issue could give problems with the libraries I'm using, controlP5 and IGeo.</p>

<p>I'm running Processing 2.2.1 and when I export the sketch I don't get any error, I get the folders (win32 and win64) with the .jar files for the libraries and I have already pasted the fonts and images I'm loading inside the folder. When I try to run the application the window appears but it remains empty, the sketch doesn't run, while it works perfectly if I run it in Processing.</p>

<p>I read that this issue should be fixed with Processing 3.0, but I'm afraid that with the new update IGeo library will not work (Beta Version 0.9.1.6 is for Processing 2.2.1) and some features of controlP5 will give me an error.</p>

<p>Does anybody know how to solve the issue?</p>

<p>Thanks in advance!</p>
]]></description>
   </item>
   </channel>
</rss>